﻿@inherits BootstrapModuleComponentBase
@typeparam TItem

<Table TItem="TItem" IsBordered="true" IsStriped="true" IsMultipleSelect="IsMultipleSelect" @ref="Instance"
       IsPagination="IsPagination" PageItemsSource="PageItemsSource" PageItems="PageItems" IsFixedHeader="IsFixedHeader"
       IsTree="IsTree" OnTreeExpand="OnTreeExpand!" TreeNodeConverter="TreeNodeConverter!"
       ShowDefaultButtons="ShowDefaultButtons" ShowAdvancedSearch="ShowAdvancedSearch"
       ShowEmpty="ShowEmpty" EmptyText="暂无数据" EmptyImage="images/empty.svg" SortString="@SortString"
       EditButtonText="@EditButtonText" AddButtonText="@AddButtonText" DeleteButtonText="@DeleteButtonText"
       OnQueryAsync="OnQueryAsync!" OnDeleteAsync="OnDeleteAsync!" OnSaveAsync="OnSaveAsync!"
       ShowSkeleton="true" ShowLoading="ShowLoading" ShowSearch="ShowSearch"
       ShowToolbar="ShowToolbar" ShowExtendButtons="ShowExtendButtons"
       ShowAddButton="@(ShowAddButton??AuthorizeButton("add"))" ShowDeleteButton="@(ShowDeleteButton??AuthorizeButton("del"))" ShowEditButton="@(ShowEditButton??AuthorizeButton("edit"))"
       ShowExtendEditButton=@(ShowEditButton??AuthorizeButton("edit")) ShowExtendDeleteButton=@(ShowDeleteButton??AuthorizeButton("del"))
       ShowCardView="true" ShowColumnList="true" ExtendButtonColumnWidth="@ExtendButtonColumnWidth"
       CustomerSearchModel="CustomerSearchModel"
       SelectedRows="SelectedRows" SelectedRowsChanged="OnSelectedRowsChanged"
       Items="Items" ItemsChanged="ItemsChanged"      
       ShowExtendEditButtonCallback="ShowExtendEditButtonCallback!" ShowExtendDeleteButtonCallback="ShowExtendDeleteButtonCallback!"
       TableToolbarTemplate="TableToolbarTemplate" TableColumns="TableColumns" EditTemplate="EditTemplate!"
       CustomerSearchTemplate="CustomerSearchTemplate!" RowButtonTemplate="RowButtonTemplate!"
       ShowExportButton="ShowExportButton" ShowExportCsvButton="ShowExportCsvButton" ShowExportPdfButton="ShowExportPdfButton"
       AutoGenerateColumns="AutoGenerateColumns"
       IsFixedFooter="true" AllowResizing="true" AllowDragColumn="true" ClientTableName="@ClientTableName"
       OnDragColumnEndAsync="OnDragColumnEndAsync!"       
       OnResizeColumnAsync="OnResizeColumnAsync"
       OnColumnVisibleChanged="OnColumnVisibleChanged"
       OnColumnCreating="OnColumnCreating"
       DetailRowTemplate="DetailRowTemplate"
       OnClickRowCallback="OnClickRowCallback"
       FixedExtendButtonsColumn="FixedExtendButtonsColumn"
       Height="Height" ClickToSelect="ClickToSelect"
       TableFooter="TableFooter" ShowFooter="ShowFooter"
       FooterTemplate="FooterTemplate"
       EditDialogSize="EditDialogSize"
       OnAfterModifyAsync="OnAfterModifyAsync"
       ShowLineNo="ShowLineNo"
       OnDoubleClickRowCallback="OnDoubleClickRowCallback">
</Table>